# find examples/cpu-rank-item | grep -E '.h$|.cpp$|.ui$' | sort
add_executable(example-cpu-rank-list
    examples/cpu-rank-list/cpu-rank-list.cpp
    examples/cpu-rank-list/cpuranklistmainwindow.h
    examples/cpu-rank-list/cpuranklistmainwindow.cpp
    examples/cpu-rank-list/cpuranklistmainwindow.ui
)
target_link_libraries(example-cpu-rank-list cpurank-widgets)

# find examples/cpu-rank-item-widget | grep -E '.h$|.cpp$|.ui$' | sort
add_executable(example-cpu-rank-list-widget
    examples/cpu-rank-list-widget/cpu-rank-list-widget.cpp
    examples/cpu-rank-list-widget/cpuranklistwidgetmainwindow.h
    examples/cpu-rank-list-widget/cpuranklistwidgetmainwindow.cpp
    examples/cpu-rank-list-widget/cpuranklistwidgetmainwindow.ui
)
target_link_libraries(example-cpu-rank-list-widget cpurank-widgets)

# find examples/cpu-rank-model-view-delegate | grep -E '.h$|.cpp$|.ui$' | sort
add_executable(example-cpu-rank-model-view-delegate
    examples/cpu-rank-model-view-delegate/cpu-rank-model-view-delegate.cpp
    examples/cpu-rank-model-view-delegate/cpurankmvcmainwindow.h
    examples/cpu-rank-model-view-delegate/cpurankmvcmainwindow.cpp
    examples/cpu-rank-model-view-delegate/cpurankmvcmainwindow.ui
)
target_link_libraries(example-cpu-rank-model-view-delegate cpurank-widgets)

# find examples/cpu-rank-compare-webengine | grep -E '.h$|.cpp$|.ui$' | sort
add_executable(example-cpu-rank-list-widget-compare-webengine
    examples/cpu-rank-list-widget-compare-webengine/cpu-rank-list-widget-compare-webengine.cpp
    examples/cpu-rank-list-widget-compare-webengine/cpuranklistwidgetcomparemainwindow.h
    examples/cpu-rank-list-widget-compare-webengine/cpuranklistwidgetcomparemainwindow.cpp
    examples/cpu-rank-list-widget-compare-webengine/cpuranklistwidgetcomparemainwindow.ui
    src/resources.qrc
)
target_link_libraries(example-cpu-rank-list-widget-compare-webengine cpurank-widgets)
target_link_qt_webengine(example-cpu-rank-list-widget-compare-webengine)
target_link_qt_webenginewidgets(example-cpu-rank-list-widget-compare-webengine)

spark_framework_include_with_git(example-cpu-rank-list-widget-compare-webengine
    https://gitee.com/spark-framework-libs/spark-framework-features
    FEATURES qrcutil)

# find examples/cpu-rank-model-view-delegate-compare-webengine | grep -E '.h$|.cpp$|.ui$' | sort
add_executable(example-cpu-rank-model-view-delegate-compare-webengine
    examples/cpu-rank-model-view-delegate-compare-webengine/cpu-rank-model-view-delegate-compare-webengine.cpp
    examples/cpu-rank-model-view-delegate-compare-webengine/cpurankmvccomparemainwindow.h
    examples/cpu-rank-model-view-delegate-compare-webengine/cpurankmvccomparemainwindow.cpp
    examples/cpu-rank-model-view-delegate-compare-webengine/cpurankmvccomparemainwindow.ui
    src/resources.qrc
)
target_link_libraries(example-cpu-rank-model-view-delegate-compare-webengine cpurank-widgets)
target_link_qt_webengine(example-cpu-rank-model-view-delegate-compare-webengine)
target_link_qt_webenginewidgets(example-cpu-rank-model-view-delegate-compare-webengine)

spark_framework_include_with_git(example-cpu-rank-model-view-delegate-compare-webengine
    https://gitee.com/spark-framework-libs/spark-framework-features
    FEATURES qrcutil)
